
const fs = require('fs');
const path = require('path');

// 默认情况下，相对路径与启动路径有关
// const PRIVATE_KEY = fs.readFileSync('./src/config/keys/private.key');
// const PUBLIC_KEY = fs.readFileSync('./src/config/keys/public.key');

const PRIVATE_KEY = fs.readFileSync(path.resolve(__dirname, './keys/private.key'));
const PUBLIC_KEY = fs.readFileSync(path.resolve(__dirname, './keys/public.key'));



module.exports = {
    PRIVATE_KEY,
    PUBLIC_KEY
}
